Adapt to Dart 1.0 release and cipher 0.4.0 release

fixes #29