public static getInstance(algorithm as String) as SecretKeyFactory throws CryptoException:
import klyn.cryptography factory = SecretKeyFactory.getInstance("PBKDF2WithHmacSHA256") print(factory.algorithm)