public TOTPGenerator . Mode getMode ( ) throws GuacamoleException { return environment . getProperty ( TOTP_MODE , TOTPGenerator . Mode . SHA1 ) ; }
Returns the hash algorithm that should be used to generate TOTP codes . If not specified SHA1 will be used by default .