Class ToMD5ByteBuffer

java.lang.Object
io.nosqlbench.virtdata.library.basics.shared.from_long.to_bytebuffer.ToMD5ByteBuffer
All Implemented Interfaces:
LongFunction<ByteBuffer>

@Deprecated(since="NB5", forRemoval=true) public class ToMD5ByteBuffer extends Object implements LongFunction<ByteBuffer>
Deprecated, for removal: This API element is subject to removal in a future version.
Converts the byte image of the input long to a MD5 digest in ByteBuffer form. Deprecated usage due to unsafe MD5 digest. Replaced with DigestToByteBuffer with MD5 when absolutely needed for existing NB tests. However, stronger encryption algorithms (e.g. SHA-256) are recommended due to MD5's limitations.
  • Constructor Details

    • ToMD5ByteBuffer

      @Deprecated public ToMD5ByteBuffer()
      Deprecated.
      Deprecated usage due to unsafe MD5 digest. Use the DigestToByteBuffer with alternatives other than MD5.
  • Method Details

    • apply

      @Deprecated public ByteBuffer apply(long value)
      Deprecated.
      Deprecated usage due to unsafe MD5 digest used in this class. Use the DigestToByteBuffer with alternatives other than MD5.
      Specified by:
      apply in interface LongFunction<ByteBuffer>