1.0.2 • Published 1 year ago

cipher-bsk v1.0.2

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

cipher-bsk-npm-package

Bornomala Symmetric Key (BSK) stream cipher, a simple text-encrypting developed cipher model

Installation/Launch

npm i cipher-bsk;

Usage

To use in your project get the encrypt and decrypt function from object deconstruction

const { encrypt, decrypt } = require('cipher-bsk')

let M = "Hajee Mohammad Danesh Science and Technology University"
let K = "Hstu@5200"

console.log(encrypt(M, K))
let C = encrypt(M, K)
console.log(decrypt(C, K))

Features

  • Avalanche effect
  • Immune from frequency analysis attack
  • Output ranges from ASCII(0-255)

Documentations