Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode Skip to content
Charm-Crypto v0.61
Logo
  • Platform Install Manual
    • Building MIRACL for Charm
    • Building RELIC for Charm
    • Android Build (Deprecated)
  • How To Get Started
  • For Cryptographers
  • For App Developers
  • Implemented Schemes
    • aggrsign_bls
    • aggrsign_MuSig
    • blindsig_ps16
    • chamhash_adm05
    • chamhash_rsa_hw09
    • encap_bchk05
    • joye_scheme
    • lem_scheme
    • pk_vrf
    • pre_mg07
    • protocol_a01
    • protocol_ao00
    • protocol_cns07
    • protocol_schnorr91
    • sigma1
    • sigma2
    • sigma3
    • abenc_accountability_jyjxgd20
    • abenc_bsw07
    • abenc_ca_cpabe_ar17
    • abenc_dacmacs_yj14
    • abenc_lsw08
    • abenc_maabe_rw15
    • abenc_maabe_yj14
    • abenc_tbpre_lww14
    • abenc_unmcpabe_yahk14
    • abenc_waters09
    • abenc_yct14
    • abenc_yllc15
    • ac17
    • bsw07
    • cgw15
    • dabe_aw11
    • dfa_fe12
    • pk_hve08
    • waters11
    • pkenc_cs98
    • pkenc_elgamal85
    • pkenc_gm82
    • pkenc_paillier99
    • pkenc_rabin
    • pkenc_rsa
    • pksig_bls04
    • pksig_boyen
    • pksig_chch
    • pksig_chp
    • pksig_cl03
    • pksig_cl04
    • pksig_cllww12_z
    • pksig_CW13_z
    • pksig_cyh
    • pksig_dsa
    • pksig_ecdsa
    • pksig_hess
    • pksig_hw
    • pksig_lamport
    • pksig_ps01
    • pksig_ps02
    • pksig_ps03
    • pksig_rsa_hw09
    • pksig_schnorr91
    • pksig_waters
    • pksig_waters05
    • pksig_waters09
  • Schemes with Test Vectors
  • Scheme Adapters
    • abenc_adapt_hybrid
    • dabenc_adapt_hybrid
    • ibenc_adapt_hybrid
    • ibenc_adapt_identityhash
    • kpabenc_adapt_hybrid
    • pkenc_adapt_bchk05
    • pkenc_adapt_chk04
    • pkenc_adapt_hybrid
    • pksig_adapt_naor01
  • Toolbox Classes
    • ABEnc - Attribute-Based Encryption
    • ABEncMultiAuth - Multi-Authority Attribute-Based Encryption
    • ABEnumeric - Numeric Attribute Encoding
    • bitstring
    • broadcast
    • Commit - Commitment Schemes
    • conversion
    • DFA
    • eccurve
    • ecgroup
    • enum
    • FSA
    • Hash - Hash Functions
    • hash_module
    • IBEnc - Identity-Based Encryption
    • IBSig - Identity-Based Signatures
    • integergroup
    • iterate
    • matrixops
    • mpc_utils
    • msp
    • mta
    • node
    • paddingschemes
    • pairingcurves
    • pairinggroup
    • PKEnc - Public-Key Encryption
    • PKSig - Public-Key Signatures
    • policy_expression_spec
    • policytree
    • PREnc - Proxy Re-Encryption
    • reCompiler
    • redundancyschemes
    • schemebase
    • secretshare - Secret Sharing Schemes
    • secretutil
    • securerandom
    • sigmaprotocol - Sigma Protocols (Zero-Knowledge Proofs)
    • specialprimes
    • symcrypto - Symmetric Cryptography
    • threshold_sharing
    • xmlserialize
    • zknode
    • ZKProof
  • ZKP Compiler
  • Scheme Test Code
    • chamhash_adm05_test
    • chamhash_rsa_hw09_test
    • dabe_aw11_test
    • encap_bchk05_test
    • pk_vrf_test
    • pkenc_test
    • pksig_test
    • rsa_alg_test
    • threshold_test
  • Toolbox Test Code
    • conversion_test
    • ecgroup_test
    • integer_arithmetic_test
    • paddingschemes_test
    • policy_parser_stress_test
    • secretshare_test
    • symcrypto_test
    • test_policy_expression
  • Changes in v0.61
  • Changes in v0.60
  • Changes in v0.50
  • Changes in v0.43
Back to top
View this page
Edit this page

Toolbox Test CodeΒΆ

This section contains test code examples for the Charm toolbox modules. These tests demonstrate how to use the toolbox components and verify correct functionality.

  • conversion_test
  • ecgroup_test
  • integer_arithmetic_test
  • paddingschemes_test
  • policy_parser_stress_test
  • secretshare_test
  • symcrypto_test
  • test_policy_expression
Next
conversion_test
Previous
threshold_test
Copyright © 2013-2026, Johns Hopkins University ISI
Made with Sphinx and @pradyunsg's Furo
Last updated on Feb 02, 2026