SHA1MBS class

Online Documentation   -   Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchy

New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1

The list of the   topics,   classes,   interfaces,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

Platforms to show: All Mac Windows Linux Cross-Platform

SHA1MBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class Encryption and Hash MBS Encryption Plugin 3.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
An implementation of the SHA1 algorithem to calculate hash values.
Example
dim f as FolderItem
dim b as BinaryStream
dim s as string
dim m as new SHA1MBS

// process file part by part (big files)

f=SpecialFolder.Desktop.Child("test.jpg")
b=f.OpenAsBinaryFile(False)

while not b.eof
s=b.Read(1000000)
m.Add s

wend

MsgBox EncodingToHexMBS(m.Result)+" using plugin with SHA1MBS"

The source in RB is in the examples folder (see Crypto 1.5 via RB). This implementation inside the plugin is only to make the calculation faster.
In case RS will improve RB more to produce faster code, the plugin may be no longer needed.

This class has no sub classes.

Some examples using this class:

Blog Entries

Xojo Developer Magazine

Release notes


The items on this page are in the following plugins: MBS Encryption Plugin.


SFVoiceAnalyticsMBS   -   SHA256MBS


💬 Ask a question or report a problem