md5的k表计算

python

from math import sin


def main():
    for i in range(1,65):
        i=int(abs(sin(i)*4294967296))
        print(hex(i))


if __name__ == '__main__':
    main()

c

#include<stdio.h>
#include <math.h>

int main() { 
    int i;
    for (i=1; i<65; i++)
        printf("0x%x\n", (unsigned int)(fabs(sin(i)*4294967296UL)));
    return 0;
}
posted @ 2021-11-01 01:02  公众号python学习开发  阅读(100)  评论(0编辑  收藏  举报