{"id":26499079,"url":"https://github.com/pradeep1991singh/cordova-plugin-secure-key-store","last_synced_at":"2025-03-20T14:51:46.483Z","repository":{"id":56823978,"uuid":"67140771","full_name":"pradeep1991singh/cordova-plugin-secure-key-store","owner":"pradeep1991singh","description":"Cordova plugin for securely saving keys, passwords or strings on devices.","archived":false,"fork":false,"pushed_at":"2020-04-18T13:07:46.000Z","size":85,"stargazers_count":25,"open_issues_count":7,"forks_count":29,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-07T22:04:01.903Z","etag":null,"topics":["android","android-keystore","cordova-android","cordova-ios","cordova-plugin","encryption-decryption","ios","ios-keychain","mobile","phonegap","public-private-key","sensitive-data-security"],"latest_commit_sha":null,"homepage":"","language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pradeep1991singh.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}},"created_at":"2016-09-01T14:56:05.000Z","updated_at":"2024-08-17T00:40:12.000Z","dependencies_parsed_at":"2022-09-11T01:22:51.714Z","dependency_job_id":null,"html_url":"https://github.com/pradeep1991singh/cordova-plugin-secure-key-store","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pradeep1991singh%2Fcordova-plugin-secure-key-store","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pradeep1991singh%2Fcordova-plugin-secure-key-store/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pradeep1991singh%2Fcordova-plugin-secure-key-store/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pradeep1991singh%2Fcordova-plugin-secure-key-store/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pradeep1991singh","download_url":"https://codeload.github.com/pradeep1991singh/cordova-plugin-secure-key-store/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244637060,"owners_count":20485445,"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":["android","android-keystore","cordova-android","cordova-ios","cordova-plugin","encryption-decryption","ios","ios-keychain","mobile","phonegap","public-private-key","sensitive-data-security"],"created_at":"2025-03-20T14:51:45.961Z","updated_at":"2025-03-20T14:51:46.477Z","avatar_url":"https://github.com/pradeep1991singh.png","language":"Objective-C","funding_links":["https://www.buymeacoffee.com/ps91"],"categories":[],"sub_categories":[],"readme":"# cordova-plugin-secure-key-store\nCordova plugin for securely saving keys, passwords or strings on devices.\n\n## Installation\n\nThe plugin can be installed via the Cordova command line interface:\n\n```sh\ncordova plugin add cordova-plugin-secure-key-store\n```\n\nor via github\n\n```sh\ncordova plugin add https://github.com/pradeep1991singh/cordova-plugin-secure-key-store\n```\n\n## Usage\n\nThis plugin will add three new methods to window scope, for saving sensitive data, retrieving saved data and for removing data.\n\n- For saving use `cordova.plugins.SecureKeyStore.set` \n\n```js\ncordova.plugins.SecureKeyStore.set(function (res) {\n  console.log(res); // res - string securely stored\n}, function (error) {\n  console.log(error);\n}, \"key\", 'string to encrypt');\n```\n\n- For retrieving use `cordova.plugins.SecureKeyStore.get`.\n\n```js\ncordova.plugins.SecureKeyStore.get(function (res) {\n  console.log(res); // res - string retrieved\n}, function (error) {\n  console.log(error);\n}, \"key\");\n```\n- And for removing `cordova.plugins.SecureKeyStore.remove`\n\n```js\ncordova.plugins.SecureKeyStore.remove(function (res) {\n  console.log(res); // res - string removed\n}, function (error) {\n  console.log(error);\n}, \"key\");\n```\n\n## License\n\nMIT License\n\nCopyright (c) 2017 pradeep singh\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n[![Buy Me A Coffee](https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png)](https://www.buymeacoffee.com/ps91)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpradeep1991singh%2Fcordova-plugin-secure-key-store","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpradeep1991singh%2Fcordova-plugin-secure-key-store","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpradeep1991singh%2Fcordova-plugin-secure-key-store/lists"}