check secret length on initialize