Borrowed from Czech heslo, from Old Czech heslo, from Proto-Slavic *gъslo.
hasło n (diminutive hasełko, related adjective hasłowy)