function onEncryptionKeyChange onEncryptionKeyChange(cb: () => void): void Parameters cb: () => void Return Type void