Skip to content

klouskingsley/des

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

des 对称加密

Usage

import {encrypt, decrypt} from './src/des'
const key = 'secretKey'
const plainText = 'plain text'

console.log('text', plainText)

const encryptText = encrypt(key, plainText)
console.log('encrypted', encryptText)

const decryptText = decrypt(key, encryptText)
console.log('decrypted', decryptText)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published