Previous Index Next

BridgePlus.framework, SMSForder Class Methods

Category

String manipulation methods

Method

MD5From:

Summary

Calculates the MD5 hash

Signature

+ (id)MD5From:(id)listOrString

Parameters

listOrString = a string or list of strings

Result

If passed a string, returns the hash; if passed a list, an array of hashes.

Availability

Version 1.0.0

Notes

 

Sample

use scripting additions

use framework "Foundation"

use script "BridgePlus"

load framework


set aString to "0123456789"

set theResult to current application's SMSForder's MD5From:aString

ASify from theResult

--> "781e5e245d69b566979b86e28d23f2c7"

theResult as text

--> "781e5e245d69b566979b86e28d23f2c7"


Click here to open script in a script editor