Inventory.Hashable
Class Inventory.Hashable [ Abstract ]
Hashable is an abstract class providing the means to attach a SHA1 hash value to its subclass instances.
Properties
SHA1Hash
Property SHA1Hash As %String(COLLATION = "EXACT");
An index on the SHA1Hash value of this object The SHA1Hash of the object, base 64 encoded.
Methods
GenerateSHA1Hash
Method GenerateSHA1Hash(string As %String)
Generate a base 64 encoded SHA1 hash of string and store it as the SHA1Hash property of this object.
GenerateSHA1HashFromStream
Method GenerateSHA1HashFromStream(stream As %Stream.Object)
Generate a base 64 encoded SHA1 hash of the contents of stream and store it as the SHA1Hash property of this object.