奥特曼生日祝福视频制作教程(附高清教程下载)

news/2024/11/7 11:02:18/

今天给大家带来奥特曼生日祝福视频制作教程。视频教程

奥特曼生日祝福视频制作教程

这就是我们今天要用到的奥特曼生日祝福视频生成工具,它可以一键生成奥特曼生日祝福视频,超高清视频画质,支持文案自定义,支持20种方言配音。

搜索“AI创意生活”公众号,了解具体操作步骤。

源码

;(function (root, factory, undef) {if (typeof exports === "object") {// CommonJSmodule.exports = exports = factory(require("./core"), require("./enc-base64"), require("./md5"), require("./evpkdf"), require("./cipher-core"));}else if (typeof define === "function" && define.amd) {// AMDdefine(["./core", "./enc-base64", "./md5", "./evpkdf", "./cipher-core"], factory);}else {// Global (browser)factory(root.CryptoJS);}
}(this, function (CryptoJS) {(function () {// Shortcutsvar C = CryptoJS;var C_lib = C.lib;var BlockCipher = C_lib.BlockCipher;var C_algo = C.algo;// Lookup tablesvar SBOX = [];var INV_SBOX = [];var SUB_MIX_0 = [];var SUB_MIX_1 = [];var SUB_MIX_2 = [];var SUB_MIX_3 = [];var INV_SUB_MIX_0 = [];var INV_SUB_MIX_1 = [];var INV_SUB_MIX_2 = [];var INV_SUB_MIX_3 = [];// Compute lookup tables(function () {// Compute double tablevar d = [];for (var i = 0; i < 256; i++) {if (i < 128) {d[i] = i << 1;} else {d[i] = (i << 1) ^ 0x11b;}}// Walk GF(2^8)var x = 0;var xi = 0;for (var i = 0; i < 256; i++) {// Compute sboxvar sx = xi ^ (xi << 1) ^ (xi << 2) ^ (xi << 3) ^ (xi << 4);sx = (sx >>> 8) ^ (sx & 0xff) ^ 0x63;SBOX[x] = sx;INV_SBOX[sx] = x;// Compute multiplicationvar x2 = d[x];var x4 = d[x2];var x8 = d[x4];// Compute sub bytes, mix columns tablesvar t = (d[sx] * 0x101) ^ (sx * 0x1010100);SUB_MIX_0[x] = (t << 24) | (t >>> 8);SUB_MIX_1[x] = (t << 16) | (t >>> 16);SUB_MIX_2[x] = (t << 8)  | (t >>> 24);SUB_MIX_3[x] = t;// Compute inv sub bytes, inv mix columns tablesvar t = (x8 * 0x1010101) ^ (x4 * 0x10001) ^ (x2 * 0x101) ^ (x * 0x1010100);INV_SUB_MIX_0[sx] = (t << 24) | (t >>> 8);INV_SUB_MIX_1[sx] = (t << 16) | (t >>> 16);INV_SUB_MIX_2[sx] = (t << 8)  | (t >>> 24);INV_SUB_MIX_3[sx] = t;// Compute next counterif (!x) {x = xi = 1;} else {x = x2 ^ d[d[d[x8 ^ x2]]];xi ^= d[d[xi]];}}}());// Precomputed Rcon lookupvar RCON = [0x00, 0x01, 0x02, 0x04, 0x08, 0x10, 0x20, 0x40, 0x80, 0x1b, 0x36];/*** AES block cipher algorithm.*/var AES = C_algo.AES = BlockCipher.extend({_doReset: function () {var t;// Skip reset of nRounds has been set before and key did not changeif (this._nRounds && this._keyPriorReset === this._key) {return;}// Shortcutsvar key = this._keyPriorReset = this._key;var keyWords = key.words;var keySize = key.sigBytes / 4;// Compute number of roundsvar nRounds = this._nRounds = keySize + 6;// Compute number of key schedule rowsvar ksRows = (nRounds + 1) * 4;// Compute key schedulevar keySchedule = this._keySchedule = [];for (var ksRow = 0; ksRow < ksRows; ksRow++) {if (ksRow < keySize) {keySchedule[ksRow] = keyWords[ksRow];} else {t = keySchedule[ksRow - 1];if (!(ksRow % keySize)) {// Rot wordt = (t << 8) | (t >>> 24);// Sub wordt = (SBOX[t >>> 24] << 24) | (SBOX[(t >>> 16) & 0xff] << 16) | (SBOX[(t >>> 8) & 0xff] << 8) | SBOX[t & 0xff];// Mix Rcont ^= RCON[(ksRow / keySize) | 0] << 24;} else if (keySize > 6 && ksRow % keySize == 4) {// Sub wordt = (SBOX[t >>> 24] << 24) | (SBOX[(t >>> 16) & 0xff] << 16) | (SBOX[(t >>> 8) & 0xff] << 8) | SBOX[t & 0xff];}keySchedule[ksRow] = keySchedule[ksRow - keySize] ^ t;}}// Compute inv key schedulevar invKeySchedule = this._invKeySchedule = [];for (var invKsRow = 0; invKsRow < ksRows; invKsRow++) {var ksRow = ksRows - invKsRow;if (invKsRow % 4) {var t = keySchedule[ksRow];} else {var t = keySchedule[ksRow - 4];}if (invKsRow < 4 || ksRow <= 4) {invKeySchedule[invKsRow] = t;} else {invKeySchedule[invKsRow] = INV_SUB_MIX_0[SBOX[t >>> 24]] ^ INV_SUB_MIX_1[SBOX[(t >>> 16) & 0xff]] ^INV_SUB_MIX_2[SBOX[(t >>> 8) & 0xff]] ^ INV_SUB_MIX_3[SBOX[t & 0xff]];}}},encryptBlock: function (M, offset) {this._doCryptBlock(M, offset, this._keySchedule, SUB_MIX_0, SUB_MIX_1, SUB_MIX_2, SUB_MIX_3, SBOX);},decryptBlock: function (M, offset) {// Swap 2nd and 4th rowsvar t = M[offset + 1];M[offset + 1] = M[offset + 3];M[offset + 3] = t;this._doCryptBlock(M, offset, this._invKeySchedule, INV_SUB_MIX_0, INV_SUB_MIX_1, INV_SUB_MIX_2, INV_SUB_MIX_3, INV_SBOX);// Inv swap 2nd and 4th rowsvar t = M[offset + 1];M[offset + 1] = M[offset + 3];M[offset + 3] = t;},_doCryptBlock: function (M, offset, keySchedule, SUB_MIX_0, SUB_MIX_1, SUB_MIX_2, SUB_MIX_3, SBOX) {// Shortcutvar nRounds = this._nRounds;// Get input, add round keyvar s0 = M[offset]     ^ keySchedule[0];var s1 = M[offset + 1] ^ keySchedule[1];var s2 = M[offset + 2] ^ keySchedule[2];var s3 = M[offset + 3] ^ keySchedule[3];// Key schedule row countervar ksRow = 4;// Roundsfor (var round = 1; round < nRounds; round++) {// Shift rows, sub bytes, mix columns, add round keyvar t0 = SUB_MIX_0[s0 >>> 24] ^ SUB_MIX_1[(s1 >>> 16) & 0xff] ^ SUB_MIX_2[(s2 >>> 8) & 0xff] ^ SUB_MIX_3[s3 & 0xff] ^ keySchedule[ksRow++];var t1 = SUB_MIX_0[s1 >>> 24] ^ SUB_MIX_1[(s2 >>> 16) & 0xff] ^ SUB_MIX_2[(s3 >>> 8) & 0xff] ^ SUB_MIX_3[s0 & 0xff] ^ keySchedule[ksRow++];var t2 = SUB_MIX_0[s2 >>> 24] ^ SUB_MIX_1[(s3 >>> 16) & 0xff] ^ SUB_MIX_2[(s0 >>> 8) & 0xff] ^ SUB_MIX_3[s1 & 0xff] ^ keySchedule[ksRow++];var t3 = SUB_MIX_0[s3 >>> 24] ^ SUB_MIX_1[(s0 >>> 16) & 0xff] ^ SUB_MIX_2[(s1 >>> 8) & 0xff] ^ SUB_MIX_3[s2 & 0xff] ^ keySchedule[ksRow++];// Update states0 = t0;s1 = t1;s2 = t2;s3 = t3;}// Shift rows, sub bytes, add round keyvar t0 = ((SBOX[s0 >>> 24] << 24) | (SBOX[(s1 >>> 16) & 0xff] << 16) | (SBOX[(s2 >>> 8) & 0xff] << 8) | SBOX[s3 & 0xff]) ^ keySchedule[ksRow++];var t1 = ((SBOX[s1 >>> 24] << 24) | (SBOX[(s2 >>> 16) & 0xff] << 16) | (SBOX[(s3 >>> 8) & 0xff] << 8) | SBOX[s0 & 0xff]) ^ keySchedule[ksRow++];var t2 = ((SBOX[s2 >>> 24] << 24) | (SBOX[(s3 >>> 16) & 0xff] << 16) | (SBOX[(s0 >>> 8) & 0xff] << 8) | SBOX[s1 & 0xff]) ^ keySchedule[ksRow++];var t3 = ((SBOX[s3 >>> 24] << 24) | (SBOX[(s0 >>> 16) & 0xff] << 16) | (SBOX[(s1 >>> 8) & 0xff] << 8) | SBOX[s2 & 0xff]) ^ keySchedule[ksRow++];// Set outputM[offset]     = t0;M[offset + 1] = t1;M[offset + 2] = t2;M[offset + 3] = t3;},keySize: 256/32});/*** Shortcut functions to the cipher's object interface.** @example**     var ciphertext = CryptoJS.AES.encrypt(message, key, cfg);*     var plaintext  = CryptoJS.AES.decrypt(ciphertext, key, cfg);*/C.AES = BlockCipher._createHelper(AES);}());return CryptoJS.AES;}));

http://www.ppmy.cn/news/674057.html

相关文章

奥特曼、装饰器

字典、装饰器、 命名关键字参数 对象和对象的关系、继承 ## 奥特曼打怪兽 # 自己访问自己的成员变量 用带下划线的&#xff0c;给别人用的时候 用包装好的属性 不带下划线的 ## 奥特曼打了小怪兽 -use a - &#xff08;类和类关系&#xff09;对象与对象的关系&#xff1a;…

奥特曼打小怪兽python代码简单版_奥特曼打小怪兽

from random import randint # 导入randint函数 class Monster(object): def __init__(self, name, energy): self.name name self.energy energy if self.energy > 100: print(self.name "满血战斗") else: print(self.name "目前有" str(self.en…

推荐一波有趣且实用的奥特曼表情包

奥特曼00001-安排.jpg 奥特曼00002-咕叽咕叽啪啦啪啦.gif 奥特曼00003-校服校霸.jpg 奥特曼00004-摇滚奥特曼.gif 奥特曼00005-诸葛亮变色赛文.gif 奥特曼00006-奥特曼打工.gif 奥特曼00007-让老子看看你是什么类型的傻逼.jpg 奥特曼00008-质朴.jpg 奥特曼00009-溜了溜了.jpg 奥…

奥特曼

奥特曼和小怪兽的故事,为什么会这么吸引小孩子呢? 我又想起外甥吵着要看奥特曼、喜羊羊的碟。 备忘&#xff0c;前两天听的讲座&#xff0c; Human Computer Interaction的project: 1) housewife: leaving card for robot, and the robot will fix all things; 2) TreeMap…

Ultraman 奥特曼名字

奥特曼名字 名字名字的含义&#xff1a; 名字 昭和时代&#xff08;1996&#xff5e;1980&#xff09;&#xff1a; 初代奥特曼&#xff08;原名&#xff1a;奥特曼&#xff09;&#xff1a;Ultraman 佐菲&#xff08;佐菲奥特曼&#xff09;&#xff1a;Zoffy 赛文奥特曼&…

缓存穿透、缓存击穿、缓存雪崩、缓存预热

缓存穿透、缓存击穿、缓存雪崩、缓存预热 什么是缓存穿透&#xff1f; 缓存穿透是指用户恶意查询一个缓存中不存在的数据&#xff0c;导致请求直接穿透到数据库上&#xff0c;导致数据库压力过大甚至宕机 解决方法&#xff1a; 1.缓存空对象 2.限制缓存的TTL时间 3.利用布隆过…

②snowflake(雪花ID)

1.雪花ID概念 雪花算法&#xff08;Snowflake&#xff09;是一种用于生成唯一标识符&#xff08;ID&#xff09;的分布式算法。它可以生成趋势递增且具有一定时间顺序的64位整数&#xff0c;适用于分布式系统中的唯一ID生成需求。 2.雪花ID结构 0 | 41位时间戳 | 10位工作…

C语言 — 宏命令的使用

宏的命名规则建议 规则1&#xff1a;对于数值或者字符串等常量的定义&#xff0c;建议采用全大写的英文字母&#xff0c;单词之间加下划线‘_’的方式命名&#xff08;枚举常量同样建议使用此方式定义&#xff09;。 示例&#xff1a; #define PI_ROUNDED 3.14 获取结构体成…