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

net.dankito.utils.hashing.HashAlgorithm.kt Maven / Gradle / Ivy

There is a newer version: 1.0.20
Show newest version
package net.dankito.utils.hashing


enum class HashAlgorithm constructor(val algorithmName: String) {

    MD5("MD5"),
    SHA1("SHA1"),
    /**
     * Be aware older Androids don't support SHA-224 (but SHA-256 and SHA-512).
     */
    SHA224("SHA-224"),
    SHA256("SHA-256"),
    SHA384("SHA-384"),
    SHA512("SHA-512");


    override fun toString(): String {
        return algorithmName
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy