Get salt from code if possible and return base64-encoded salt or throw error
String? getCodeSalt(String code) => ntGetCodeSalt(code: code);