Skip to content

moonbit-community/crypto.mbt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

crypto.mbt

一些加密算法与各种编码方式,主要为moonbitlang/x中暂未支持的类型,用moonbit原生实现

并非web3

why

因为问了下说建议单开个库,所以就有了这个库

TODO

Classicl

  • Caesar

Modern

  • AES 暂不稳定, 谨慎使用
  • SM4
  • DES

Usage

还没发包呢

moon update
moon add FrenchPicnic/cryptox
inspect(@FrenchPicnic/cryptox.caesar_encrypt("Hello"), content="Khoor")
inspect(@FrenchPicnic/cryptox.caesar_encrypt("World", offset=5), content="Btwqi")

About

some encryption algorithms that moonbitlang/x not yet implemented

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published