 MESSAGE_FORMAT_UNKNOWN = -1
 
 RTMP_SIG_SIZE = 1536
-SHA256DL = 32
+SHA256DL = 32  # SHA256 digest length (bytes)
 
 KEY_LENGTH = 128
 

    callback null, s2Bytes,
      clientPublicKey: key

generateS0S1S2 = (clientsig, callback) ->
  clientType = clientsig[0]
  console.log "client type: #{clientType}"

# RTMP handshake

crypto = require 'crypto'

MESSAGE_FORMAT_1 = 1
