Creates a crypt filter for the specified encryption algorithm.
The encryption algorithm type.
The appropriate crypt filter instance.
Error if the method is unsupported.
const filter = getCryptFilter('AES-256-CBC') Copy
const filter = getCryptFilter('AES-256-CBC')
Creates a crypt filter for the specified encryption algorithm.