keyboard-cipher:用JavaScript制作的键盘移位密码加解密算法

时间:2024-05-22 23:16:14
【文件属性】:

文件名称:keyboard-cipher:用JavaScript制作的键盘移位密码加解密算法

文件大小:13KB

文件格式:ZIP

更新时间:2024-05-22 23:16:14

javascript keyboard cipher js keyboard-layout

键盘密码 键盘移位密码加密和解密算法。 安装 # Install with npm $ npm i --save keyboard-cipher # Install with Yarn $ yarn add keyboard-cipher 例子 加密 var keyboardCipher = require ( 'keyboard-cipher' ) ; // Message to encrypt. var plainText = 'hello world' ; // Encrypt the message with either types of shifts: left or right. var leftCipherText = keyboardCipher . encrypt ( plainText , 'left' ) ; var rightCipherText = keybo


【文件预览】:
keyboard-cipher-main
----index.js(154B)
----package.json(898B)
----data()
--------map.js(807B)
----.eslintrc.json(1KB)
----.github()
--------ISSUE_TEMPLATE()
--------workflows()
----jest.config.js(50B)
----SECURITY.md(417B)
----tests()
--------decrypt.test.js(391B)
--------encrypt.test.js(391B)
----LICENSE(1KB)
----src()
--------encrypt.js(651B)
--------decrypt.js(641B)
----.gitignore(41B)
----CODE_OF_CONDUCT.md(5KB)
----README.md(2KB)

网友评论