Simpler flexible implementation Crypto Module functions to hash/ encrypt/ decrypt content and get SHA or other algorithm hashes of text or any data
Find the demos in the demos folder
You can find details about used crypto algorithm details in the nodejs crypto, cipher, decipher, diffiehellman, hmac, hash, and other docs here
var crypt = require("hasher-apis");
crypt.createSHA(
data="texter data",
algorithm = "sha256",
digest="base64",
options = { logger: console.log }
)
import { default as _createSHAHash, createSHA } as "hasher-apis";
createSHA(
data="texter data",
algorithm = "sha256",
digest="base64",
options = { logger: console.log }
)
var crypt = import("hasher-apis");
crypt.createSHA(
data="texter data",
algorithm = "sha256",
digest="base64",
options = { logger: console.log }
)
Create an encrytion using a content using salt and algorithms
Usage: encrypt(data, salt, algorithm, keyAlgorithm, digest, options)
Details in todo file
Contributions, Feature Improvements, Bugs, and Issues are invited. raising an issue