mirror of
https://github.com/retspen/webvirtcloud
synced 2025-07-31 12:41:08 +00:00
Update spice-html5
This commit is contained in:
parent
34394c2b5e
commit
562fe5c3dc
36 changed files with 59278 additions and 1325 deletions
static/js/spice-html5/thirdparty
7
static/js/spice-html5/thirdparty/rsa.js
vendored
7
static/js/spice-html5/thirdparty/rsa.js
vendored
|
@ -1,4 +1,5 @@
|
|||
// Downloaded from http://www-cs-students.stanford.edu/~tjw/jsbn/ by Jeremy White on 6/1/2012
|
||||
// Converted into an ES6 module
|
||||
|
||||
/*
|
||||
* Copyright (c) 2003-2005 Tom Wu
|
||||
|
@ -33,6 +34,8 @@
|
|||
|
||||
|
||||
// Depends on jsbn.js and rng.js
|
||||
import { BigInteger } from './jsbn.js';
|
||||
import { SecureRandom } from './rng.js';
|
||||
|
||||
// Version 1.1: support utf-8 encoding in pkcs1pad2
|
||||
|
||||
|
@ -144,3 +147,7 @@ RSAKey.prototype.doPublic = RSADoPublic;
|
|||
RSAKey.prototype.setPublic = RSASetPublic;
|
||||
RSAKey.prototype.encrypt = RSAEncrypt;
|
||||
//RSAKey.prototype.encrypt_b64 = RSAEncryptB64;
|
||||
|
||||
export {
|
||||
RSAKey,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue