APIReference

Reference

A reference to an encrypted object. Both hash and key are always set, and key is always a sequence of 32 bytes.

Instance creation

Reference reference = new Reference(hash, key);
var reference = new cds.Reference(hash, key);
my $reference = CDS::Reference->new($hash, $key);

Creates an instance. Key must be a byte sequence of length 32.

See also

Encrypting an object

Encrypting a record