- 论坛徽章:
- 145
|
回复 1# Auroracxy
$ echo -n '{"password": "Just$test","instance_type": "ecs.m2.medium","name": "my-test-cluster-97082734","size": 1,"network_mode": "classic","data_disk_category": "cloud","data_disk_size": 10,"ecs_image_id": "m-253llee3l"}' | md5sum
e94e002cc90a4a3d0f61b790487aa098 -
$ echo -n '{"password": "Just$test","instance_type": "ecs.m2.medium","name": "my-test-cluster-97082734","size": 1,"network_mode": "classic","data_disk_category": "cloud","data_disk_size": 10,"ecs_image_id": "m-253llee3l"}' | md5sum | awk '{for(n=1;n<length($1);n+=2){printf("%c",strtonum("0x"substr($1,n,2)))}}' | hexdump -C
00000000 e9 4e 00 2c c9 0a 4a 3d 0f 61 b7 90 48 7a a0 98 |.N.,..J=.a..Hz..|
00000010
$ echo -n '{"password": "Just$test","instance_type": "ecs.m2.medium","name": "my-test-cluster-97082734","size": 1,"network_mode": "classic","data_disk_category": "cloud","data_disk_size": 10,"ecs_image_id": "m-253llee3l"}' | md5sum | awk '{for(n=1;n<length($1);n+=2){printf("%c",strtonum("0x"substr($1,n,2)))}}' | base64
6U4ALMkKSj0PYbeQSHqgmA==
|
|