SimpleHash.convertSaltToBytes

Acquires the specified {@code salt} argument's bytes and returns them in the form of a {@code ByteSource} instance. <p/> This implementation merely delegates to the convenience {@link #toByteSource(Object)} method for generic conversion. Can be overridden by subclasses for salt-specific conversion.

@param salt the salt to be use for the hash. @return the salt's bytes in the form of a {@code ByteSource} instance.

class SimpleHash
protected
convertSaltToBytes
(
Object salt
)

Meta