The Red Matrix
|
Functions | |
rsa_sign ($data, $key, $alg= 'sha256') | |
rsa_verify ($data, $sig, $key, $alg= 'sha256') | |
pkcs5_pad ($text, $blocksize) | |
pkcs5_unpad ($text) | |
AES256CBC_encrypt ($data, $key, $iv) | |
AES256CBC_decrypt ($data, $key, $iv) | |
aes_encapsulate ($data, $pubkey) | |
aes_unencapsulate ($data, $prvkey) | |
new_keypair ($bits) | |
AES256CBC_decrypt | ( | $data, | |
$key, | |||
$iv | |||
) |
Referenced by aes_unencapsulate().
AES256CBC_encrypt | ( | $data, | |
$key, | |||
$iv | |||
) |
Referenced by aes_encapsulate().
aes_encapsulate | ( | $data, | |
$pubkey | |||
) |
Referenced by post_post(), zfinger_init(), zot_build_packet(), and zot_fetch().
aes_unencapsulate | ( | $data, | |
$prvkey | |||
) |
Referenced by message_post(), new_contact(), post_post(), probe_content(), zot_import(), and zot_refresh().
new_keypair | ( | $bits | ) |
Referenced by create_identity(), and hostxrd_init().
pkcs5_pad | ( | $text, | |
$blocksize | |||
) |
Referenced by AES256CBC_encrypt().
pkcs5_unpad | ( | $text | ) |
Referenced by AES256CBC_decrypt().
rsa_sign | ( | $data, | |
$key, | |||
$alg = 'sha256' |
|||
) |
Referenced by create_identity(), fix_system_urls(), import_post(), magic_init(), post_post(), zfinger_init(), zot_build_packet(), and zot_fetch().
rsa_verify | ( | $data, | |
$sig, | |||
$key, | |||
$alg = 'sha256' |
|||
) |
Referenced by import_site(), import_xchan(), post_init(), post_post(), and zfinger_init().