# Fixes hexdigest and digest specs (SHA1)

**URL:** <https://www.ruby-forum.com/t/fixes-hexdigest-and-digest-specs-sha1/166517>\
**Category:** IronRuby\
**Created:** [April 26, 2009, 8:03pm UTC](https://www.ruby-forum.com/t/fixes-hexdigest-and-digest-specs-sha1/166517 "2009-04-26T20:03:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jirapong](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/90ced4/32.png) [@jirapong](https://www.ruby-forum.com/u/jirapong)\
**Post date:** [April 26, 2009, 8:03pm UTC](https://www.ruby-forum.com/t/fixes-hexdigest-and-digest-specs-sha1/166517/1 "2009-04-26T20:03:02Z")

</div>

[http://github.com/Jirapong/ironruby/commit/de4e34e1530b382e5e76b484d5e6ba4b2322667a](http://github.com/Jirapong/ironruby/commit/de4e34e1530b382e5e76b484d5e6ba4b2322667a)  
This should make digest and hexgest spec passed, however it only  
support SHA1. I’m going to create more spec for other encode methods.

Files changes:  
â€¢ Merlin/External.LCA\_RESTRICTED/Languages/IronRuby/mspec/ironruby-  
tags/library/openssl/hmac/digest\_tags.txt  
â€¢ Merlin/External.LCA\_RESTRICTED/Languages/IronRuby/mspec/ironruby-  
tags/library/openssl/hmac/hexdigest\_tags.txt  
â€¢ Merlin/Main/Languages/Ruby/Libraries.LCA\_RESTRICTED/  
Initializers.Generated.cs  
â€¢ Merlin/Main/Languages/Ruby/Libraries.LCA\_RESTRICTED/OpenSSL/  
OpenSSL.cs

Thank you,  
-Jirapong
