1.1.3 • Published 2 years ago
@fruitsjs/crypto v1.1.3
@fruitsjs/crypto
Cryptographic functions for building Fruits Eco-Blockchain apps.
Installation
FruitsJS can be used with NodeJS or Web.
Using with NodeJS and/or modern web frameworks
Install using npm:
npm install @fruitsjs/crypto
or using yarn:
yarn add @fruitsjs/crypto
Example
import {encryptAES, decryptAES, hashSHA256} from '@fruitsjs/crypto'
const encrypted = encryptAES('test', 'key')
const decrypted = decryptAES(encrypted, 'key')
console.log(hashSHA256('test'))
console.log(decrypted)
1.1.3
2 years ago
1.1.2
3 years ago
1.1.1
3 years ago
1.1.0
3 years ago
1.0.8
4 years ago
1.0.7
4 years ago
1.0.6
4 years ago
1.0.5
4 years ago
1.0.3
4 years ago
1.0.2
4 years ago
0.6.0-beta.5
4 years ago
1.0.0-rc.4
4 years ago
1.0.0-rc.3
4 years ago