Java Threshold Secret Sharing Impl