open fun makeKeyFor(label: String): SecretKey (source)
Creates a SecretKey for the given label.
This method generates a SecretKey pre-bound to the AndroidKeyStore and configured
with the strongest "algorithm/blockmode/padding" (and key size) available.
Subclasses override this method to properly associate the generated key with the given label in the underlying KeyStore.
label - The label to associate with the created key
NoSuchAlgorithmException - If the cipher algorithm is not supported
Return
The newly-generated key for label