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 get_item_elements(), get_mail_elements(), item_post(), item_store(), post_post(), send_message(), zfinger_init(), zot_build_packet(), and zot_fetch().
aes_unencapsulate | ( | $data, | |
$prvkey | |||
) |
new_keypair | ( | $bits | ) |
Referenced by create_account(), 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().