Differences From Artifact [c913003d61]:
- File
src/OFString+Hashing.h
— part of check-in
[a1931f59a2]
at
2014-09-01 23:42:55
on branch trunk
— Add OFSHA224Hash
This creates a common base for OFSHA224Hash and OFSHA256Hash so that all
code (except the different initialization constants) is reused. (user: js, size: 1452) [annotate] [blame] [check-ins using]
To Artifact [e05005877c]:
- File src/OFString+Hashing.h — part of check-in [23f6c0f84d] at 2014-09-03 15:46:47 on branch trunk — Add OFSHA384Hash and OFSHA512Hash (user: js, size: 1822) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
48 49 50 51 52 53 54 55 | /*! * @brief Returns the SHA-256 hash of the string as an autoreleased OFString. * * @return The SHA-256 hash of the string as an autoreleased OFString */ - (OFString*)SHA256Hash; @end | > > > > > > > > > > > > > > | 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 | /*! * @brief Returns the SHA-256 hash of the string as an autoreleased OFString. * * @return The SHA-256 hash of the string as an autoreleased OFString */ - (OFString*)SHA256Hash; /*! * @brief Returns the SHA-384 hash of the string as an autoreleased OFString. * * @return The SHA-384 hash of the string as an autoreleased OFString */ - (OFString*)SHA384Hash; /*! * @brief Returns the SHA-512 hash of the string as an autoreleased OFString. * * @return The SHA-512 hash of the string as an autoreleased OFString */ - (OFString*)SHA512Hash; @end |