# cordova-plugin-key-hash

> Generate and retrieve application key hashes from signatures

Latest version **0.1.0** (published 2018-02-12) · MIT license · 0 weekly downloads

## Install

```sh
npm install cordova-plugin-key-hash
pnpm add cordova-plugin-key-hash
yarn add cordova-plugin-key-hash
bun add cordova-plugin-key-hash
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; large bundle; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2018-02-12 |
| First published | 2018-02-12 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 10.9 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Adriano Di Giovanni |
| Maintainers | adriano.digiovanni |
| Keywords | ecosystem:cordova, cordova-android, cordova-ios, signature, key, hash |

## Links

- npm: https://www.npmjs.com/package/cordova-plugin-key-hash
- Repository: https://github.com/adriano-di-giovanni/cordova-plugin-key-hash
- Homepage: https://github.com/adriano-di-giovanni/cordova-plugin-key-hash#readme
- Issues: https://github.com/adriano-di-giovanni/cordova-plugin-key-hash/issues
- npm.io page: https://npm.io/package/cordova-plugin-key-hash

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 0.1.0 (latest) — 2018-02-12

## README

# Key Hash for Cordova

[![Build Status](https://travis-ci.org/adriano-di-giovanni/cordova-plugin-key-hash.svg?branch=master)](https://travis-ci.org/adriano-di-giovanni/cordova-plugin-key-hash)

> This plugin provides the ability to generate and retrieve application key hashes from signatures.

## Installation

```bash
cordova plugin add cordova-plugin-key-hash
```

## Usage

```javascript
var successCallback = function(keyHashes) {
    console.log(keyHashes) // ['NoeLNrq33NiEm2sfQRTnS+clCx4=']
}
var errorCallback = function(err) {
    window.alert(err)
}

window.plugins.getKeyHashes(successCallback, errorCallback)
```

## Supported platforms

* Android

## Example app and tests

You can find example an example app inside the `example/` folder. You can run auto tests tapping on the `Run tests` button in the app.

| Example app          | Auto tests           |
| -------------------- | -------------------- |
| ![android-example-1] | ![android-example-2] |

[android-example-1]: images/android-example-1.png
[android-example-2]: images/android-example-2.png

## License

This project is [MIT-licensed](LICENSE)

---
_Source: https://npm.io/package/cordova-plugin-key-hash · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
