(algorithm: A)
| 14740 | * @since 4.0.0 |
| 14741 | */ |
| 14742 | export const CipherKey = <A extends Cipher_.Algorithm>(algorithm: A): CipherKey<A> => |
| 14743 | declareCryptoKey<Cipher_.Key<A>>( |
| 14744 | "CipherKey", |
| 14745 | "Cipher", |
| 14746 | "Key", |
| 14747 | Cipher_.isKey, |
| 14748 | algorithm |
| 14749 | ) |
| 14750 | |
| 14751 | /** |
| 14752 | * Schema that decodes raw key bytes into a `Cipher.Key`. |
no test coverage detected