seamory / ent-encrypt-example

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ent-encrypt-example

install dependencies

go mod tidy

run

go run .

will output as following:

&{1 test00 Ae1RMGj6qc4DIqkJ7jWmshIeOQuz2Waz+1qkglWynzSnJM5JJo83RMFuceU4hE0=}
&{2 test01 Ae1RMGjFGDg8SwCOYEWALOJdfJtEDdhpj3bREaMAFGBB2w+YHfp+kR6ma9IAKiA=} 
&{3 test02 Ae1RMGgPFelK7idQKrJmnWvBWQLwGAubx4deCEbRIkxqU8k7JTVvwTXi28CugMg=} 
&{4 test03 Ae1RMGgVFHQDzjJbEuM7cYXQaVYiNckiwmuMhSroRTaGjS85S4FXPydhAFaAvHY=} 
&{5 test04 Ae1RMGiRVmzaJWN3zrBvprobYBombtqduHHql0allKqrkLj8tfSQadnYagqPTQo=} 
&{6 test05 Ae1RMGixeThiT/Np4d+kM6bJzHJa5aPWPCzJl0Qh/d/qPa+SzhxbKCX64luY6zE=} 
&{7 test06 Ae1RMGj9mSXv9Q38wkPti9pN1VFo7poiOfJFrl1SqMhp82L4O7itz89k5eNn1Og=} 
&{8 test07 Ae1RMGj8ymFIJ4NpLfrzoCbMVT7+gc5NG3143JQw3so6AfWf9KEKMmd3WZWiyEo=} 
&{9 test08 Ae1RMGgRWjgtXq7CKFmOxIqGa5BiUXyXzcbefZwWHZGQ0TyECKhQJUwBVTIOyHc=} 
&{10 test09 Ae1RMGhttmGvbhiqawidQol8MqsHOB8XYsaCMIWagh34AaBaN2Sqw6dARHPJEiw=}
AccountInfo(id=1, username=test00, password=test00Password)                  
AccountInfo(id=2, username=test01, password=test01Password)                  
AccountInfo(id=3, username=test02, password=test02Password)                  
AccountInfo(id=4, username=test03, password=test03Password)                  
AccountInfo(id=5, username=test04, password=test04Password)                  
AccountInfo(id=6, username=test05, password=test05Password)                  
AccountInfo(id=7, username=test06, password=test06Password)                  
AccountInfo(id=8, username=test07, password=test07Password)                  
AccountInfo(id=9, username=test08, password=test08Password)                  
AccountInfo(id=10, username=test09, password=test09Password)

About

License:MIT License


Languages

Language:Go 98.0%Language:Makefile 2.0%