Learn R Programming

smcryptoR (version 0.1.2)

ShangMi(SM) Cryptographic Algorithms(SM2/SM3/SM4)

Description

Bindings to 'smcrypto' : a 'Rust' implementation of China's Standards of Encryption Algorithms, which is usually called 'ShangMi(SM)' algorithms. It contains 'SM3' message digest algorithm, 'SM2' asymmetric encryption algorithm and 'SM4' symmetric encryption algorithm. Users can do message hash, encrypt/decrypt, sign/verify, key exchange and more.

Copy Link

Version

Install

install.packages('smcryptoR')

Monthly Downloads

122

Version

0.1.2

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Meng Yu

Last Published

March 18th, 2024

Functions in smcryptoR (0.1.2)

sm2_encrypt_asna1

SM2 Encrypt/Decrypt - asn.1
sm4_encrypt_ecb_base64

SM4 Encrypt/Decrypt - hex and base64
sm4_encrypt_ecb_to_file

SM4 Encrypt/Decrypt - file
sm3_hash

SM3 Hash
sm4_encrypt_ecb

SM4 Encrypt/Decrypt
sm2_encrypt

SM2 Encrypt/Decrypt
sm2_encrypt_to_file

SM2 Encrypt/Decrypt - file
sm2_encrypt_c1c2c3

SM2 Encrypt/Decrypt - c1c2c3
sm2_keyexchange_1ab

SM2 Key Exchange
sm2_encrypt_hex

SM2 Encrypt/Decrypt - hex and base64
sm2_sign

SM2 Sign/Verify
sm2_gen_keypair

SM2 Key Pair