Cuis-Smalltalk / Cuis-Smalltalk-Dev

Active development of Cuis Smalltalk
MIT License
435 stars 70 forks source link

Add sha-256 #166

Closed Phantasus closed 4 years ago

Phantasus commented 4 years ago
  1. Adds an implementation of the SHA2 SHA-256 algorithm used in some other algorithms. This is a plain Smalltalk implementation without any primitive use.

  2. Adds #rightRotateBy: to ThirtyTwoBitRegister, which rotates the register to the right. Adds a test for this behaviour.

  3. Adds the ThirtyTwoBitRegisterTest testcases from Squeak 5.3 image version 19431. To have a base for the testcase for the #rightRotateBy: message.

  4. Updates the package description with a License mention (MIT) as it was already included in Cuis, so I supposed it's MIT already. And the new ThirtyTwoBitRegisterTest was filed out from Squeak 5.3 which also is MIT License for it's code. So I suppose this is correct.

  5. Adds also a little bit more of information to the package description.