mirror of
https://github.com/xahys/testlucee
synced 2026-04-08 18:07:38 +03:00
Create pass.cfm
This commit is contained in:
parent
d2d0fa601f
commit
7a737a1b4c
10
pass.cfm
Normal file
10
pass.cfm
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
<cfscript>
|
||||||
|
// Получаем экземпляр PasswordManager
|
||||||
|
passwordManager = getInstance('PasswordManager@lucee-password-util');
|
||||||
|
|
||||||
|
// Шифруем строку
|
||||||
|
encryptedValue = passwordManager.encryptDataSource('password12345');
|
||||||
|
|
||||||
|
// Выводим зашифрованное значение
|
||||||
|
writeOutput("Encrypted Value: " & encryptedValue);
|
||||||
|
</cfscript>
|
||||||
Loading…
Reference in New Issue
Block a user