This would only work if it were always obvious when your implementation is unsecure, which is not the case.