utils-encrypt
v1.0.2
Published
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.<br> quantumEncryption => Resistant to
Downloads
0
Readme
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","meesage","encrypt") vigenere("key","XJ^^F`P","decrypt")
example quantumEncryption
const dicionario = Dicionarygenerator("secet Key very long more that the text") quantumEncryption("meesage",dicionario,"encrypt") quantumEncryption("vqi",dicionario,"decrypt")
example cesarEncryption
cesarEncryption("meesage",1,"encrypt") cesarEncryption("ipab",1,"decrypt")