{"id":18789213,"url":"https://github.com/dsiner/fingerprintcompat","last_synced_at":"2025-06-22T06:38:10.619Z","repository":{"id":202173155,"uuid":"155805752","full_name":"Dsiner/FingerprintCompat","owner":"Dsiner","description":"A library for using registered fingerprints to authenticate the user in your app.","archived":false,"fork":false,"pushed_at":"2020-12-26T17:26:36.000Z","size":184,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-21T13:14:21.493Z","etag":null,"topics":["cipher","encryption","fingerprint","fingerprint-authentication"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Dsiner.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2018-11-02T02:51:30.000Z","updated_at":"2020-12-26T17:26:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"69a78a90-5d30-48af-9608-99aeefd57eb6","html_url":"https://github.com/Dsiner/FingerprintCompat","commit_stats":null,"previous_names":["dsiner/fingerprintcompat"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Dsiner/FingerprintCompat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dsiner%2FFingerprintCompat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dsiner%2FFingerprintCompat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dsiner%2FFingerprintCompat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dsiner%2FFingerprintCompat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Dsiner","download_url":"https://codeload.github.com/Dsiner/FingerprintCompat/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dsiner%2FFingerprintCompat/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261249797,"owners_count":23130495,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cipher","encryption","fingerprint","fingerprint-authentication"],"created_at":"2024-11-07T21:06:57.755Z","updated_at":"2025-06-22T06:38:05.606Z","avatar_url":"https://github.com/Dsiner.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FingerprintCompat for Android\n\n[![License](https://img.shields.io/badge/license-Apache%202-green.svg)](https://www.apache.org/licenses/LICENSE-2.0)\n[![API](https://img.shields.io/badge/API-9%2B-green.svg?style=flat)](https://android-arsenal.com/api?level=9)\n\n\u003e FingerprintCompat is a library for using registered fingerprints to authenticate the user in your app.\n\n## Set up\nMaven:\n```xml\n\u003cdependency\u003e\n  \u003cgroupId\u003ecom.dsiner.lib\u003c/groupId\u003e\n  \u003cartifactId\u003efingerprintcompat\u003c/artifactId\u003e\n  \u003cversion\u003e1.0.0\u003c/version\u003e\n\u003c/dependency\u003e\n```\nor Gradle:\n```groovy\nimplementation 'com.dsiner.lib:fingerprintcompat:1.0.0'\n```\n\n## Screenshots\n\n\u003cp\u003e\n   \u003cimg src=\"https://github.com/Dsiner/Resouce/blob/master/lib/FingerprintCompat/fingerprintcompat.png\" width=\"320\" alt=\"Screenshot\"/\u003e\n\u003c/p\u003e\n\n## Getting started\n\n#### 1. Authenticate\n\n```java\n        FingerprintCompat.create(mContext).authenticate(new IFingerprint.Callback() {\n\n            @Override\n            public void onHelp(int helpMsgId, CharSequence helpString) { }\n\n            @Override\n            public void onSuccess(String value) { }\n\n            @Override\n            public void onError(@NonNull FingerprintException e) { }\n        });\n```\n\n#### 2. Encrypt\n\n```java\n        FingerprintCompat.create(mContext).encrypt(keyName, value, new IFingerprint.Callback() { });\n```\n\n#### 3. Decrypt\n\n```java\n        FingerprintCompat.create(mContext).decrypt(keyName, value, new IFingerprint.Callback() { });\n```\n\n#### 4. Cancel\n\n```java\n        fingerprintCompat.cancel();\n```\n\n## Licence\n\n```txt\nCopyright 2018 D\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdsiner%2Ffingerprintcompat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdsiner%2Ffingerprintcompat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdsiner%2Ffingerprintcompat/lists"}