The SaltedData class consists of content and an associated “salt” used to make the storage of the content cryptographically secure.

The SaltedData class looks like this:

class SaltedData {
    String content;
    Salt salt;
}

Data model

Property Description
content A string containing the content.
salt The salt (random data) to be added to a hash of the content.