cipher-bsk

1.0.5 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i cipher-bsk

Weekly Downloads

60

Version

1.0.5

License

ISC

Unpacked Size

57.4 kB

Total Files

9

Last publish

Collaborators

  • sazzad-saju