Package: smcryptoR 0.1.2
smcryptoR: ShangMi(SM) Cryptographic Algorithms(SM2/SM3/SM4)
Bindings to 'smcrypto' <https://github.com/zhuobie/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.
Authors:
smcryptoR_0.1.2.tar.gz
smcryptoR_0.1.2.zip(r-4.5)smcryptoR_0.1.2.zip(r-4.4)smcryptoR_0.1.2.zip(r-4.3)
smcryptoR_0.1.2.tgz(r-4.4-x86_64)smcryptoR_0.1.2.tgz(r-4.4-arm64)smcryptoR_0.1.2.tgz(r-4.3-x86_64)smcryptoR_0.1.2.tgz(r-4.3-arm64)
smcryptoR_0.1.2.tar.gz(r-4.5-noble)smcryptoR_0.1.2.tar.gz(r-4.4-noble)
smcryptoR.pdf |smcryptoR.html✨
smcryptoR/json (API)
NEWS
# Install 'smcryptoR' in R: |
install.packages('smcryptoR', repos = c('https://zhuobie.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/zhuobie/smcryptor/issues
Last updated 8 months agofrom:df2d83fe64. Checks:OK: 9. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Oct 14 2024 |
R-4.5-win-x86_64 | OK | Oct 14 2024 |
R-4.5-linux-x86_64 | OK | Oct 14 2024 |
R-4.4-win-x86_64 | OK | Oct 14 2024 |
R-4.4-mac-x86_64 | OK | Oct 14 2024 |
R-4.4-mac-aarch64 | OK | Oct 14 2024 |
R-4.3-win-x86_64 | OK | Oct 14 2024 |
R-4.3-mac-x86_64 | OK | Oct 14 2024 |
R-4.3-mac-aarch64 | OK | Oct 14 2024 |
Exports:sm2_decryptsm2_decrypt_asna1sm2_decrypt_base64sm2_decrypt_c1c2c3sm2_decrypt_from_filesm2_decrypt_hexsm2_encryptsm2_encrypt_asna1sm2_encrypt_base64sm2_encrypt_c1c2c3sm2_encrypt_hexsm2_encrypt_to_filesm2_gen_keypairsm2_keyexchange_1absm2_keyexchange_2asm2_keyexchange_2bsm2_keypair_from_pem_filesm2_keypair_to_pem_filesm2_pk_from_sksm2_privkey_validsm2_pubkey_from_pem_filesm2_pubkey_to_pem_filesm2_pubkey_validsm2_signsm2_sign_to_filesm2_verifysm2_verify_from_filesm3_hashsm3_hash_filesm3_hash_stringsm4_decrypt_cbcsm4_decrypt_cbc_base64sm4_decrypt_cbc_from_filesm4_decrypt_cbc_hexsm4_decrypt_ecbsm4_decrypt_ecb_base64sm4_decrypt_ecb_from_filesm4_decrypt_ecb_hexsm4_encrypt_cbcsm4_encrypt_cbc_base64sm4_encrypt_cbc_hexsm4_encrypt_cbc_to_filesm4_encrypt_ecbsm4_encrypt_ecb_base64sm4_encrypt_ecb_hexsm4_encrypt_ecb_to_file
Dependencies:
Readme and manuals
Help Manual
Help page | Topics |
---|---|
SM2 Encrypt/Decrypt | sm2_decrypt sm2_encrypt |
SM2 Encrypt/Decrypt - asn.1 | sm2_decrypt_asna1 sm2_encrypt_asna1 |
SM2 Encrypt/Decrypt - c1c2c3 | sm2_decrypt_c1c2c3 sm2_encrypt_c1c2c3 |
SM2 Encrypt/Decrypt - hex and base64 | sm2_decrypt_base64 sm2_decrypt_hex sm2_encrypt_base64 sm2_encrypt_hex |
SM2 Encrypt/Decrypt - file | sm2_decrypt_from_file sm2_encrypt_to_file |
SM2 Key Pair | sm2_gen_keypair sm2_keypair_from_pem_file sm2_keypair_to_pem_file sm2_pk_from_sk sm2_privkey_valid sm2_pubkey_from_pem_file sm2_pubkey_to_pem_file sm2_pubkey_valid |
SM2 Key Exchange | sm2_keyexchange_1ab sm2_keyexchange_2a sm2_keyexchange_2b |
SM2 Sign/Verify | sm2_sign sm2_sign_to_file sm2_verify sm2_verify_from_file |
SM3 Hash | sm3_hash sm3_hash_file sm3_hash_string |
SM4 Encrypt/Decrypt | sm4_decrypt_cbc sm4_decrypt_ecb sm4_encrypt_cbc sm4_encrypt_ecb |
SM4 Encrypt/Decrypt - hex and base64 | sm4_decrypt_cbc_base64 sm4_decrypt_cbc_hex sm4_decrypt_ecb_base64 sm4_decrypt_ecb_hex sm4_encrypt_cbc_base64 sm4_encrypt_cbc_hex sm4_encrypt_ecb_base64 sm4_encrypt_ecb_hex |
SM4 Encrypt/Decrypt - file | sm4_decrypt_cbc_from_file sm4_decrypt_ecb_from_file sm4_encrypt_cbc_to_file sm4_encrypt_ecb_to_file |