package interface4j
Type Members
- final class SecretString extends AnyRef
Modified copy from https://github.com/ergoplatform/ergo-appkit SecretString class Encapsulates secret array of characters (char[]) with proper equality.
Modified copy from https://github.com/ergoplatform/ergo-appkit SecretString class Encapsulates secret array of characters (char[]) with proper equality. The secret data can be
erasedin memory and not leaked to GC. Note thatSecretString#getData()andSecretString#toStringUnsecure()will throw a runtime exception, if already erased Using this class is more secure and safe than using char[] directly.