Minimal degrees of invariants of (super)groups – a connection to cryptology