public async Task <string> Encrypt2(byte[] data, byte[] iv, CryptoKey key, Algorithm algorithm)
        {
            IJSObjectReference realKey = key.JsObject;

            IJSObjectReference obj = await _runtime.InvokeAsync <IJSObjectReference>(
                "window.crypto.subtle.encrypt",
                new AlgorithmWithIv(algorithm, iv),
                key,
                Base64UrlEncode(data));

            return(obj.ToString());
        }