Created
June 5, 2009 09:03
-
-
Save horus/124160 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(in-package :cl-user) | |
(defun md5-sum (file &rest args) | |
(capi:display-message "~S" | |
(ironclad:byte-array-to-hex-string (ironclad:digest-file :md5 file)))) | |
(capi:contain (make-instance 'capi:text-input-pane | |
:callback 'md5-sum | |
:buttons | |
(list :cancel t | |
:ok t | |
:browse-file (list :operation :open :filter "*.*")))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment