Package io.zeko.restapi.core.security
Class JenkinsHash
-
- All Implemented Interfaces:
public final class JenkinsHash
-
-
Constructor Summary
Constructors Constructor Description JenkinsHash()
-
Method Summary
Modifier and Type Method Description final LonggetA()final UnitsetA(Long a)final LonggetB()final UnitsetB(Long b)final LonggetC()final UnitsetC(Long c)final Longhash(ByteArray buffer, Long initialValue)See hash(byte[] buffer, long initialValue) final Longhash(ByteArray buffer)See hash(byte[] buffer, long initialValue) final static LonggetHash(String str)-
-
Method Detail
-
hash
@JvmOverloads() final Long hash(ByteArray buffer, Long initialValue)
See hash(byte[] buffer, long initialValue)
- Parameters:
buffer- Byte array that we are hashing on.- Returns:
Hash value for the buffer.
-
hash
@JvmOverloads() final Long hash(ByteArray buffer)
See hash(byte[] buffer, long initialValue)
- Parameters:
buffer- Byte array that we are hashing on.- Returns:
Hash value for the buffer.
-
-
-
-