Encrypt .encrypt(string_data, encryption)
Sample Code
const a = require("mpop-encryptions")
let data = a.encrypt("a", a.BINARY)
console.log(data)
{
"data": "01100001 "
}
Decrypt .encrypt(encrypted_data, encryption)
Sample Code
const a = require("mpop-encryptions")
let data = a.encrypt("01100001", a.BINARY)
console.log(data)
{
"data": "a "
}
- BINARY
- OCTAL
- DECIMAL
- HEX
- BASE64
- MORSECODE