1
0
Fork 0
mirror of https://github.com/CorentinTh/it-tools.git synced 2025-08-09 23:45:18 +02:00
This commit is contained in:
zhu0823 2024-04-29 12:47:24 -05:00 committed by GitHub
commit f8f8fe895c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 17 additions and 4 deletions

View file

@ -391,3 +391,7 @@ tools:
text-to-binary:
title: Text to ASCII binary
description: Convert text to its ASCII binary representation and vice versa.
outlook_safelink_decoder:
title: Outlook safe links decoder
description: Decode safe links in Outlook to retrieve the original URLs.

View file

@ -380,3 +380,7 @@ tools:
text-to-binary:
title: Chuyển đổi văn bản thành nhị phân ASCII
description: Chuyển đổi văn bản thành biểu diễn nhị phân ASCII của nó và ngược lại.
outlook_safelink_decoder:
title: Giải mã liên kết an toàn Outlook
description: Giải mã các liên kết an toàn trong Outlook để lấy lại URL gốc.

View file

@ -187,7 +187,7 @@ tools:
toml-to-yaml:
title: TOML 到 YAML
description: Parse and convert TOML to YAML.
description: 解析TOML并将其转换为YAML。
math-evaluator:
title: 数学计算器
@ -387,3 +387,7 @@ tools:
text-to-binary:
title: 文本到 ASCII 二进制
description: 将文本转换为其 ASCII 二进制表示形式,反之亦然。
outlook_safelink_decoder:
title: Outlook 安全链接解码器
description: 解码 Outlook 中的安全链接,以获取原始 URL。

View file

@ -1,10 +1,11 @@
import { Mailbox } from '@vicons/tabler';
import { defineTool } from '../tool';
import { translate } from '@/plugins/i18n.plugin';
export const tool = defineTool({
name: 'Outlook Safelink decoder',
name: translate('tools.outlook_safelink_decoder.title'),
path: '/safelink-decoder',
description: 'Decode Outlook SafeLink links',
description: translate('tools.outlook_safelink_decoder.description'),
keywords: ['outlook', 'safelink', 'decoder'],
component: () => import('./safelink-decoder.vue'),
icon: Mailbox,

View file

@ -20,7 +20,7 @@ export function createToken({
withLowercase ? 'abcdefghijklmopqrstuvwxyz' : '',
withNumbers ? '0123456789' : '',
withSymbols ? '.,;:!?./-"\'#{([-|\\@)]=}*+' : '',
].join(''); ;
].join('');
return shuffleString(allAlphabet.repeat(length)).substring(0, length);
}