Skip to content

oboard/mooncrypto

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

oboard/mooncrypto

mooncrypto is a growing collection of standard and secure cryptographic algorithms implemented in MoonBit using best practices and patterns. They are fast, and they have a consistent and simple interface.

Installation

moon install oboard/mooncrypto

Usage

MD5

println(@mooncrypto.md5("Hello, World!"))


println(@mooncrypto.core_md5(bytes))

SHA256

println(@mooncrypto.sha256("Hello, World!"))


println(@mooncrypto.core_sha256(bytes))

base64

println(@mooncrypto.base64_encode("Hello, World!"))

println(@mooncrypto.base64_decode("SGVsbG8sIFdvcmxkIQ=="))

Algorithms

  • MD5
  • SHA1
  • SHA3
  • SHA256
  • RSA
  • AES
  • ECC
  • base64

Releases

No releases published

Packages

No packages published