///|
/// Share payloads in base64: shorter on paper than hex. Decoding is
/// strict - padding and alphabet are checked by the core codec, and the
/// byte count still has to match what the share set agrees on.
fn share_bytes_from_base64(text : String) -> Array[Int32] raise InputError {
  let decoded = @base64.decode(text[:]) catch {
    _ => raise InputError("share data is not valid base64")
  }
  let out : Array[Int32] = []
  for i in 0.. String {
  let buf : Buffer = Buffer::Buffer()
  for i in 0..