Decryption

public protocol Decryption

Decryption protocol defines the interface about decryption.

  • Decrypt password string with decryption function.

    Declaration

    Swift

    func decrypt(encryptedPassword: String, encodeMode: EncodeMode) -> CatCryptoResult

    Parameters

    encryptedPassword

    Encrypted password string for decrypt.

    encodeMode

    Encrypted password encode mode.

    Return Value

    Return a result when decryption task finish.