hw-security / de.cotech.hw.bytesecret

Package de.cotech.hw.bytesecret

Types

Name Summary

ByteSecret

open class ByteSecret

A more secure wrapper for ByteBuffer.

This class wraps a ByteBuffer, and attempts to ensure that its memory is overwritten when the object is freed, to keep secrets in memory as short a time as possible.

CharSecret

open class CharSecret

A more secure wrapper for CharBuffer.

This class wraps a CharBuffer, and attempts to ensure that its memory is overwritten when the object is freed, to keep secrets in memory as short a time as possible.

SecretGenerator

open class SecretGenerator

A generator for ByteSecret and CharSecret instances.