Hirohito Higashi wrote:

> Hi Bram and Tyru!
> 
> 2013/1/9(Wed) 5:24:42 UTC+9 Bram Moolenaar:
> > Tyru wrote:
> > 
> > 
> > 
> > > Here is a patch to add sha256({string}) function,
> > 
> > > which returns SHA256 checksum of {string}.
> > 
> > > 
> > 
> > > To be honest, I don't know this patch is useful.
> > 
> > > because I've never had a time to use SHA256 checksum in my vim plugins.
> > 
> > > but adding sha256() function is quite easy
> > 
> > > because SHA256 implementation (sha256.c) already exists in Vim source 
> > > code.
> > 
> > > so I suggest to add this function and we can use it from vimscript.
> > 
> > 
> > 
> > Thanks.  I'll add a note in the todo list.
> > 
> > 
> > 
> > Please also update the documentation.  And a simple test would be good
> > 
> > too.
> 
> I wrote a test.
> Please check this.
> (This patch includes only test code.)

Thanks!


-- 
Vi beats Emacs to death, and then again!
                        http://linuxtoday.com/stories/5764.html

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Raspunde prin e-mail lui