hash

fun ChannelSettings.Companion.hash(name: String, psk: ByteArray): Int(source)

Computes the 8-bit hash of name and psk, used by firmware to identify channels on the wire.

Mirrors the logic in Channels::generateHash.