---
name: "SHATumbler"
section: "3cc"
platform: "linux"
package: "libcommoncpp2-dev"
version: "1.0.13-5"
release: "Debian 3.1 (Sarge)"
platforms: ["linux"]
url: "https://new.carta.tech/SHATumbler"
---

# SHATumbler(3cc)

SHATumbler SHA Helper Class.

## NAME

SHATumbler - SHATumbler SHA Helper Class.

## SYNOPSIS

`#include <digest.h>`

### Public Methods

**SHATumbler** (int)\
 **SHATumbler** (const SHATumbler &)\
 SHATumbler & **operator=** (const SHATumbler &)\
 int\_type & **operator\[\]** (int)\
 **~SHATumbler** ()\
 SHATumbler **operator+** (const SHATumbler &addend) const\
 SHATumbler & **operator+=** (const SHATumbler &addend)\
 std::ostream & **toString** (std::ostream &os)\
 unsigned **getSize** ()\
 unsigned **placeInBuffer** (unsigned char \*)\

### Friends

std::ostream & **operator\<\<** (std::ostream &os, SHATumbler\< int\_type \> &ia)\

## DETAILED DESCRIPTION

### template\<class int\_type\> class SHATumbler\< int\_type \>

SHATumbler SHA Helper Class.

Class used by the SHA **Digest** Classes.

Represents a 'tumbler' group, similar to a row in a combination lock. Each part is made to roll-over, its size dependent upon int\_type.

**Author:**  Elizabeth Barham \<lizzy@soggytrousers.net\>

## CONSTRUCTOR & DESTRUCTOR DOCUMENTATION

### template\<class int\_type\> SHATumbler\< int\_type \>::SHATumbler (int)

### template\<class int\_type\> SHATumbler\< int\_type \>::SHATumbler (const SHATumbler\< int\_type \> &)

### template\<class int\_type\> SHATumbler\< int\_type \>::~SHATumbler ()

## MEMBER FUNCTION DOCUMENTATION

### template\<class int\_type\> unsigned SHATumbler\< int\_type \>::getSize ()

### template\<class int\_type\> SHATumbler SHATumbler\< int\_type \>::operator+ (const SHATumbler\< int\_type \> & addend) const

### template\<class int\_type\> SHATumbler& SHATumbler\< int\_type \>::operator+= (const SHATumbler\< int\_type \> & addend)

### template\<class int\_type\> SHATumbler& SHATumbler\< int\_type \>::operator= (const SHATumbler\< int\_type \> &)

### template\<class int\_type\> int\_type& SHATumbler\< int\_type \>::operator\[\] (int)

### template\<class int\_type\> unsigned SHATumbler\< int\_type \>::placeInBuffer (unsigned char \*)

### template\<class int\_type\> std::ostream& SHATumbler\< int\_type \>::toString (std::ostream & os)

## FRIENDS AND RELATED FUNCTION DOCUMENTATION

### template\<class int\_type\> std::ostream& operator\<\< (std::ostream & os, SHATumbler\< int\_type \> & ia)` [friend]`

## AUTHOR

Generated automatically by Doxygen for CommonC++ from the source code.
