All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.bol.crypt.CryptVersion Maven / Gradle / Ivy

package com.bol.crypt;

import java.security.Key;
import java.util.function.Function;

/** Immutable data class */
public class CryptVersion {
    public final int saltLength;
    public final String cipher;
    public final Key key;
    public final Function encryptedLength;

    public CryptVersion(int saltLength, String cipher, Key key, Function encryptedLength) {
        this.saltLength = saltLength;
        this.cipher = cipher;
        this.key = key;
        this.encryptedLength = encryptedLength;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy