+2
-1
@@ -1,4 +1,5 @@
|
||||
import { useState } from 'react'
|
||||
import { VERSION } from './version'
|
||||
|
||||
import { sm3Digest, sm3Hmac } from './utils/algorithm/sm3'
|
||||
import { sm4Encrypt, sm4Decrypt } from './utils/algorithm/sm4'
|
||||
@@ -288,7 +289,7 @@ function App() {
|
||||
{/* 页脚 */}
|
||||
<footer style={{ marginTop: '2rem', padding: '1rem', borderTop: '1px solid #ccc', textAlign: 'center' }}>
|
||||
<p>© 2026 安全算法计算工具</p>
|
||||
<p>版本号: V1.0-{new Date().toISOString().slice(0, 19).replace(/[-:T]/g, '')}</p>
|
||||
<p>版本号: {VERSION}</p>
|
||||
</footer>
|
||||
</div>
|
||||
)
|
||||
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
export declare const VERSION: string;
|
||||
@@ -0,0 +1 @@
|
||||
export const VERSION = "V1.0-20260417022550";
|
||||
Reference in New Issue
Block a user