MD5.jl:性能卓越,100%本机Julia的MD5实现

  • O5_143133
    了解作者
  • 8.8KB
    文件大小
  • zip
    文件格式
  • 0
    收藏次数
  • VIP专享
    资源类型
  • 0
    下载次数
  • 2022-06-02 08:57
    上传日期
MD5.jl:性能卓越,100%本机Julia的MD5实现
MD5_jl-master.zip
  • MD5.jl-master
  • Project.toml
    478B
  • .gitignore
    69B
  • .codecov.yml
    15B
  • src
  • core.jl
    1.6KB
  • types.jl
    553B
  • constants.jl
    586B
  • MD5.jl
    953B
  • LICENSE.md
    1.3KB
  • .travis.yml
    1.1KB
  • .github
  • workflows
  • TagBot.yml
    204B
  • README.md
    1.3KB
  • appveyor.yml
    1KB
  • test
  • nettle.jl
    1.1KB
  • perf.jl
    248B
  • runtests.jl
    1.3KB
内容介绍
# MD5 [![Build Status](https://travis-ci.org/oxinabox/MD5.jl.svg?branch=master)](https://travis-ci.org/oxinabox/MD5.jl) [![Coverage Status](https://coveralls.io/repos/oxinabox/MD5.jl/badge.svg?branch=master&service=github)](https://coveralls.io/github/oxinabox/MD5.jl?branch=master) [![codecov.io](http://codecov.io/github/oxinabox/MD5.jl/coverage.svg?branch=master)](http://codecov.io/github/oxinabox/MD5.jl?branch=master) A pure julia MD5 implementation. There is few reasons to create new MD5 checksums, but there are a huge number of existing ones. Honestly, just use SHA-256 for everything you would use MD5 for. MD5 is not secure, and it's not faster, and it doesn't have much going for it. With that said, this is an MD5 implementation. It directly extends [SHA.jl](https://github.com/staticfloat/SHA.jl). Using a lot of the same underlying functionality, and it's interface. Just like the functions from SHA.jl `md5` takes either an `Array{UInt8}`, a `String`, or an `IO` object. This makes it trivial to checksum a file. ```julia julia> using MD5 julia> bytes2hex(md5("test")) "098f6bcd4621d373cade4e832627b4f6" julia> String(read("test.txt")) "test\n" julia> open(md5, "test.txt") 16-element Array{UInt8,1}: 0xd8 0xe8 0xfc 0xa2 0xdc 0x0f 0x89 0x6f 0xd7 0xcb 0x4c 0xb0 0x03 0x1b 0xa2 0x49 ```
评论
    相关推荐
    • learning_julia
      learning_julia 学习Julia时的随机脚本
    • Julia
      Julia
    • Poisson_Julia
      这是用于解泊松方程的Julia程序包
    • KMBO_JULIA
      KMBO_JULIA
    • Julia
      Julia打开包管理器-] 添加软件包-添加Pluto 退出-Ctrl + C 保存-使用本地文件夹位置+文件名在本地保存/Users/rekilprashanth/Documents/GitHubPersonal/julia/notebooks/ 用代码添加包。 设置一个空的包环境 begin ...
    • Julia2D弹性
      Julia2D弹性
    • Julia
      茱莉亚(Julia
    • Julia2
      Julia2
    • Julia
      Julia
    • Julia09
      Julia09