import { sha512 } from 'hash-wasm' ; export interface XVCProvider { toFullXVCKey ( deviceUUID , userAgent , email ) : Promise < string > ; } export const Win32XVCProvider = { toFullXVCKey ( deviceUUID , userAgent , email ) { const source = `JAYDEN|${ userAgent }|JAYMOND|${ email }|${ deviceUUID }` ; return sha512 ( source ) ; } } ; export const AndroidSubXVCProvider = { toFullXVCKey ( _ , userAgent , email ) { const source = `KOLD|${ userAgent }|BRAN|${ email }|BRAD` ; return sha512 ( source ) ; } } ;