SHA1OpenNURBS Class

SHA1OpenNURBS Class

Provides the OpenNURBS implementation of SHA1.

This class is provided only with the purpose of hashing. It is not meant to be used for any cryptographic purpose.

Inheritance Hierarchy

Namespace:  Rhino.FileIO
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public sealed class SHA1OpenNURBS : SHA1
Public NotInheritable Class SHA1OpenNURBS
	Inherits SHA1

The SHA1OpenNURBS type exposes the following members.

Constructors
  NameDescription
Public methodSHA1OpenNURBS
Constructs a new instance of the SHA1 algorithm.
Top
Properties
  NameDescription
Public propertyCanReuseTransform (Inherited from HashAlgorithm.)
Public propertyCanTransformMultipleBlocks (Inherited from HashAlgorithm.)
Public propertyHash (Inherited from HashAlgorithm.)
Public propertyHashSize (Inherited from HashAlgorithm.)
Public propertyInputBlockSize (Inherited from HashAlgorithm.)
Public propertyOutputBlockSize (Inherited from HashAlgorithm.)
Top
Methods
  NameDescription
Public methodClear (Inherited from HashAlgorithm.)
Public methodComputeHash(Stream) (Inherited from HashAlgorithm.)
Public methodComputeHash(Byte) (Inherited from HashAlgorithm.)
Public methodComputeHash(Byte, Int32, Int32) (Inherited from HashAlgorithm.)
Public methodDispose (Inherited from HashAlgorithm.)
Public methodEquals (Inherited from Object.)
Public methodStatic memberFileSystemPathHash
Computes the SHA1 hash of a file system path, converted to UTF8.

These file system paths have identical values of FileSystemPathHash():

/x/y/z/name.ext

\x\y\z\name.ext

/x//y//z/name.ext

/x/y/a/b/c/../../../z/name.ext

/X/Y/Z/NAME.EXT (When ignoreCase is true)

Protected methodFinalize
Instructs the runtime to reclaim unmanaged resources if the developer forgot to call Dispose().
(Overrides ObjectFinalize.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodInitialize
Resets this instance of the algorithm, so that it can be used again. It is not required to call this method after creation.
(Overrides HashAlgorithmInitialize.)
Public methodStatic memberStringHash
Computes the SHA1 hash of a string, converted to UTF8.
Public methodToString (Inherited from Object.)
Public methodTransformBlock (Inherited from HashAlgorithm.)
Public methodTransformFinalBlock (Inherited from HashAlgorithm.)
Top
Version Information

Rhino for Windows

Supported in: 6.8
See Also