utils-criptografia
TypeScript icon, indicating that this package has built-in type declarations

2.0.3 • Public • Published

Utulis-Criptografia

mode funciones

vigenere => Is a method of encrypting alphabetic text where each letter of the plaintext is encoded with a different Caesar cipher, whose increment is determined by the corresponding letter of another text, the key.
quantumEncryption => Resistant to quantum attacks
cesarEncryption => One of the simplest and most widely known encryption techniques. It is a type of substitution cipher in which each letter in the plaintext is replaced by a letter some fixed number of positions down the alphabet. For example, with a left shift of 3, D would be replaced by A, E would become B, and so on. The method is named after Julius Caesar, who used it in his private correspondence

funcion

vigenere,cesarEncryption,quantumEncryption,Dicionarygenerator

example vigenere

vigenere("key oh te word","meesage","encrypt")
vigenere("key oh te word","XJ^^F`P","decrypt")

example quantumEncryption

const dicionario = Dicionarygenerator("secet Key very long more that the text")<br>

quantumEncryption("meesage",dicionario,"encrypt")
quantumEncryption("vqi",dicionario,"decrypt")

example cesarEncryption

cesarEncryption("meesage",key of number,"encrypt")
cesarEncryption("ipab",1,"decrypt")

Package Sidebar

Install

npm i utils-criptografia

Weekly Downloads

23

Version

2.0.3

License

none

Unpacked Size

8.04 kB

Total Files

12

Last publish

Collaborators

  • abaduna101