Skip to content

checkEncryptionLibraries

function checkEncryptionLibraries(): Promise<boolean>;

Check that an encryption library is available.

Discord encrypts the audio with DAVE, so a cipher is required to play it. The aes-256-gcm cipher of Node.js is used when it is available, otherwise one of the supported third-party libraries is used.

Promise<boolean>

true when an encryption library is available