ParagonIE_Sodium_Crypto B

Total Complexity 82
Dependencies 17
Dependents 2
Total lines 1,641
Lines of code 713
Logical lines of code 345
Comment lines 642
Methods 41
Properties 0

Methods 41

Method Rating Maintainability Complexity Lines of code
secretstream_xchacha20poly1305_pull()
S
43 5 50
secretbox_xchacha20poly1305()
S
44 4 52
secretstream_xchacha20poly1305_push()
S
44 4 48
secretbox()
S
45 4 48
secretbox_xchacha20poly1305_open()
S
45 4 47
secretbox_open()
S
45 4 47
generichash_init_salt_personal()
S
54 5 22
aead_chacha20poly1305_ietf_decrypt()
S
46 3 42
aead_chacha20poly1305_decrypt()
S
48 3 36
generichash()
S
56 3 17
aead_chacha20poly1305_ietf_encrypt()
S
51 2 28
generichash_init()
S
61 3 12
aead_chacha20poly1305_encrypt()
S
53 2 26
box_seal_open()
S
54 2 23
box_seal()
S
54 2 22
scalarmult_throw_if_zero()
S
64 3 9
generichash_final()
S
63 2 10
box_publickey_from_secretkey()
S
67 2 8
box_publickey()
S
67 2 8
box_secretkey()
S
67 2 8
secretstream_xchacha20poly1305_init_push()
S
61 1 13
secretstream_xchacha20poly1305_rekey()
S
61 1 13
secretstream_xchacha20poly1305_init_pull()
S
62 1 12
box()
S
64 1 11
keyExchange()
S
69 1 7
box_seed_keypair()
S
65 1 9
sign_open()
S
79 1 3
sign()
S
79 1 3
sign_detached()
S
79 1 3
box_keypair_from_secretkey_and_publickey()
S
74 1 4
aead_xchacha20poly1305_ietf_decrypt()
S
65 1 9
aead_xchacha20poly1305_ietf_encrypt()
S
65 1 9
generichash_update()
S
68 1 7
scalarmult()
S
72 1 5
auth()
S
69 1 7
auth_verify()
S
71 1 6
box_open()
S
66 1 10
box_beforenm()
S
71 1 6
box_keypair()
S
72 1 5
scalarmult_base()
S
73 1 5
sign_verify_detached()
S
78 1 3