ktor-server-core / io.ktor.sessions / SessionTransportTransformerDigest / <init>

<init>

SessionTransportTransformerDigest(salt: String = "ktor", algorithm: String = "SHA-384")

Session transformer that appends an algorithm hash of the input. Where the input is either a session contents or a previous transformation. It prepends a salt when computing the hash.