0.1.1 • Published 2 years ago

capacitor-plugin-ecies v0.1.1

Weekly downloads
7
License
MIT
Repository
github
Last release
2 years ago

capacitor-plugin-ecies

Ecies Encryption

Install

npm install capacitor-plugin-ecies
npx cap sync

API

generateKeys()

generateKeys() => Promise<{ publicKey: string; privateKey: string; }>

Returns: Promise<{ publicKey: string; privateKey: string; }>


encrypt(...)

encrypt(options: { publickey: string; plaintext: string; }) => Promise<{ value: string; }>
ParamType
options{ publickey: string; plaintext: string; }

Returns: Promise<{ value: string; }>


decrypt(...)

decrypt(options: { privatekey: string; crypttext: string; }) => Promise<{ value: string; }>
ParamType
options{ privatekey: string; crypttext: string; }

Returns: Promise<{ value: string; }>


0.1.0

2 years ago

0.1.1

2 years ago

0.0.8

2 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

4 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago