Метод | Описание | |
---|---|---|
decryptContent ( string $data, string $cek, string $iv, string $aad, string $encoded_protected_header, string $tag ) : string | ||
encryptContent ( $data, $cek, $iv, $aad, $encoded_protected_header, &$tag ) | ||
getIVSize ( ) : integer |
Метод | Описание | |
---|---|---|
calculateAuthenticationTag ( $encrypted_data, $cek, $iv, $aad, string $encoded_header ) : string | ||
getHashAlgorithm ( ) : string | ||
isTagValid ( string $encrypted_data, string $cek, string $iv, string | null $aad, string $encoded_header, string $authentication_tag ) : boolean |
Метод | Описание | |
---|---|---|
getMode ( string $k ) : string |
protected calculateAuthenticationTag ( $encrypted_data, $cek, $iv, $aad, string $encoded_header ) : string | ||
$encrypted_data | ||
$cek | ||
$iv | ||
$aad | ||
$encoded_header | string | |
Результат | string |
public encryptContent ( $data, $cek, $iv, $aad, $encoded_protected_header, &$tag ) |
abstract protected getHashAlgorithm ( ) : string | ||
Результат | string |