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 cn.Reference(hash, key);
my $reference = CN::Reference->new($hash, $key);

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

See also

Encrypting an object

Encrypting a record